loading data and training using neural network, usingNeuralNetwork function in Main.hs