create tic tac toe game using js