Global variables,some debugging and initial bulk pagerank implementation.