Updated Tic Tac Toe Sample Code