A non-blocking perceptron implementation in scala to build multi layered perceptrons