Added a prompt function for guessSquare