My attempt at implementing dijkstra's algo in python ;;; Grrrrrh
bug fixes with indentation etc