Exercises ex40.py and ex41.py

classes and objects