how to create class objects in python