A milestone. NN classifier with L2 norm as distance is working (testing required).