started a function to play a game

there's no error checking and some io bugs, but it does properly narrow
down the list of available words for the letters that have been guessed.