Neural Networks for Beginners. A fast implementation in Matlab, Torch, TensorFlow