Java class implementing perceptron, ANN building block

a quick attempt to implement a perceptron with common functions. In future will have to add: error backprop., more activation functions, constant weights, Bias, momentum.