Comparing Classification Algorithms NCC and Perceptron machine learning algorithms compared in written digit recognition