This is a pretty simple neural network, 2 input neurons, 1 hidden layer with 2 neurons, and two outputs.
https://drive.google.com/file/d/1468Tll ... sp=sharing
Here it is optimized to use one array and loops for setting values and changing weights (I would suggest looking at the first link if you don't understand this one)
https://drive.google.com/file/d/1EixlNG ... sp=sharing