Create Class Objects In Loop Python Command To End Program