class demo in python