Classifies the hand written images based on the pixel data given in training set data.