working wersion of the assignment. tested with tanh and all the inputs, should look at other activation functions if make sence as well. to compile: javac mlp/Perceptron.java to run: java mlp.Perceptron