DMelt example: Find shortest path in a graph