added knn error and added errors to lab1