training data adding works. deleted old perceptron code.