Added adapted version of external k shortest path algorithm