my first tic tac toe program in java