python : how to create a dynamic list of class values,"MyList = [inst1, inst2]"