Simple neural network library in C