perceptron for tictactoe now working