Wrote array creation of 5 elements and add array as list items to list1