Finished basic gameplay for tic tac toe