I have updated mainly the logic for returning the closest station  to user