hangman part 2 with .dat file input