checks guess with answer