Add a new k shortest paths algorithm