vector example
graph and destructor example