Algorithm To Create Perceptron Using Python