add check guess method to codemaker class