guesser.py

Created guesser .py. Added some exception handling compared with the
example in a book I'm reading. Also input handling is more succinct.