Modify displayOwnGrid and correct the bug in checkGuess.