ADD validation and documentaion

validation is waiting for the protoype of the functions of knn classifier