created separate function to set guessed flag. hm_prot calls guessed. guessed rets y or n