3.1, quick exercise on the array as a data structure