A neural network class, implemented using NumPy in Python 3.3