prepare code for hangman images