A Tic-Tac-Toe game in Java swing