A distributed version of TicTacToe build for a Java Class