First working version.

Run:
  'python src/heirarchy_adjacency <path_to_code>'

This will print to stdout json code which can be read by the d3 adjacency bundle visualiser