code for cs50 final project (tic tac toe)