Basic Tic Tac Toe game, written in Java