Add dijkstra example as python selftest