Classifying flowers with KNN in C++11