Complete Levels 1-3, refactoring on Level 4. Add heuristic tracking.