Create Object Array Python Methods Vs Functions