Generate k shortest path in matlab