kbest: Finds K best paths in a given graph.