3d tic tac toe java