Amazon Java Course, tic tac toe game