Reading Wikipedia XML dump, printing adjacency list