Simple Directed Graph Implementation