Testing loops

no implicit conversion of Array into String

trying to convert the instance object into a string