hangman.rb: minor refactorings
hangman.rb: show word at end
hangman.rb: fix bug in computer guessing

When a letter was present, only checked positions where it matched,
didn't use the knowledge that the letter failed to be found at *other*
positions.
hangman.rb: update reasoning