K nearest neighbors

	new file:   common.cpp
	new file:   common.h
	new file:   knn.cpp

	modified:   Makefile
	modified:   bagging.cpp
	modified:   eval.cpp
	modified:   eval.h
	modified:   predict-perf.cpp
	modified:   train-perf.cpp