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