added a serial implementation of neural networks as boilerplate for the parallel version