Add documentation to demo06.py