Implementing A Basic Neural Network In Python