First tic-tac-toe program