added sample code for k-nearest neighbor classifier in matlab.