fixing example build
rehashed some of the code to use the bundled property accessors ([]) on the graph class instead of property maps.