Update hangman.js

made searchbyindex accept numbers only again since change was not reflected under this.searchByIndex