My implementation of a neural network