Finished distance calculator

Linked the HTML file with the JS file.
Fixed typo (windoow -> window).
Added missing parseInt.
Finished last part of distance calculator.

You can now calculate how it will cost to go through certain type of
sector.