Code for calculating meme scores and more