And Gate Neural Network Python