Added Generic Dijkstra search in Lua