adding implementation of dykstra (my spelling) shortest path algo