added perceptron example