check in the original code provided by prof. for assignment 4 SocialRank