Basic Neural Network works

basic neural network functions now working