added a scoring function to the tweets