done ex18, adding ex19.py