More corrections to lecture 12 slides.
Update 12.py with current code.