major changes to nearest neighbor classifier and added README