Calculates and displays 3 shortest routes from local position

Let's avoid innerHTML unless it's absolutely necessary (which it isn't in this case).
Instead of `document.getElementById("out")`, you can do `document.querySelector("#out p")`.
I'm on it.