Completed array exercises