add programm code in perceptron