working towards running clustering algorithms in parallel