Implementation of neural network in java.