SO,
a single monkey typing indefinitely would hammer out the complete works of Shakespeare (or is it the Earl of Oxford?) at some point. Fine.
A computer program has been set to generate random letters (and spaces and punctuation) to see if it can produce some Shakespeare. It did. Two words.
At the rate it's going (which is much faster than anyone can type, let alone a monkey) it would need quite some time before it typed 'To be or not to be' or any similar bit of the Bard this long. In fact, it would need to have been running for about 14 billion years - started at the time of the Big Bang.
The chances of it typing out the complete works immediate are approximately the same as those of a single (very long lived) person winning the Nation Lottery every single week for thirty thousand years.
But not only will our finger-sore monkey do it, but he or she will also type out every other book ever written, every other bit of writing ever wrotten, every other word ever spoken, and every other human thought ever thunk.
Including this post.
...and every book it is possible to write.
...and every thought it is possible to think.
..including that one.
'nighty night.