add basic graph theory example