Python code for Infinite monkey theorem. The infinite monkey theorem states that a monkey hitting random keys for an infinite amount of time will surely write a wanted text like Shakespeare for example.