An implementation of K-Means algorithm in python using OO programming