Simple game of TicTacToe using Java GUI