Basic Neural Network written in C