Began implementation of neural network