A python neural network