add simple perceptron
fix main