Directed Graph implemented