Neo4j implementation of a Graph Structure