creates an array of ten HelloObj's