init tic tac toe in java