Submission for tic-tac-toe