started implementing update logic for world
merged A* and logic updating code