updated array exercises