Finally able to compute cosine similarity for pairs of posts iteratively. Still need to assign scores to posts