https://thelogictutorial.blogspot.com/2024/03/single-source-shortest-paths-dijkstras.html