add calculatepagerank method to crawler module