A basic Tic Tac Toe game in Java