Added first draft of spider, a function that can be used to build a map from paths that traverse the entity graph.