s18-05 Graph algorithms