DMelt example: Finding shortest path in a graph