Added momentum to weight training.
Added train method to Network class. Changed constructor of Network class. TODO: Simplify constructor for future use.