ex40.py intro to classes