Implement And Gate Perceptron Algorithm In Python Definition Library