Assignment #5: 1D arrays