Removed unused code, refactored stop at station to a method.
Added documentation explaining the solution.