Add Cosine Similarity function

Calculate cosine similarity between News by using keywords.