Implement And Gate Perceptron Algorithm In Python