the crucial idea that i want to tell you about and i want you to implement from scratch in our software is the following: we can actually reduce the map we maintain to one that only contains the most recent position in the path, and all of the stuff over here can be safely erased when we build our map.