added losing condition checking
refactored making wrong guesses in the spec
finished hangman