built the neural network, very rough