Fixed up k_nn code.
Result of purity test
Merge branch 'master' of https://github.com/eugeneyche/nearest_neighbor

Conflicts:
	cpp/src/main.cpp