Delete array exercise