Program that develops tictactoe strategy