beginning of tic-tac-toe app