Dev version including shortest path computation algo