Corrected the code to repeat all values of the array including the nested array. To show all elements completely.