for those who need a neural network. make sure to give credit if you use my system.
This works just like an actual neural network. You put the inputs in the input layer, then set the weights, the you get the middle layer, then you set the weights again, then you get the output layer.