final lesson plan and doc strings for sorting.py