How To Create An Array Of Objects In Python