added kmeans clustering method and additional testing code for annotations, testing code for testing kmeans clustering is not yet written