Working version of Tic Tac Toe