A simple Tic-Tac-Toe game in Java