Wrote a class that writes the wikipedia pagelinks into a neo4j database.