Implementation of K-Means clustering algorithm using C++.