Updated Hangman

added a new function to set character at a given position