Program that plays Tic-Tac-Toe