first OOP program in python