getDistance() implementation
Merge branch 'master' of https://github.com/AISDI/Symulator-ruchu-pociagow