Matrix/Hashmap, guessing game