added Cosine Similarity for two strings