recognizes guess and returns a proper message