TicTacToe server and client game to demonstrate network communications in Java