Added ex42.py

differentiating between class and object