moved methods from path_planner.py to world_model.py