cleaned the code to remove the pool part. now, its only about threading. but there is a bug associated with comparison of non-categorical attributes.
modified the algorithm for clustering the numerical data. a more simplistic and a numerical one.