Finished tic-tac-toe (basic functionality)