Added code to start doing page ranking based off of references