https://remp3indir.net/converting-dijkstra-algorithm-from-python3-to-circuitpython/
converting dijkstra algorithm from python3 to circuitpython