Attempt at writing my own neural network library (wish me luck!)