Finished tic tac toe example