Neural Network from Scratch in Java