added the tow similarity functions and transform function
added the clusters algorithms