Create ch21ex1 - putting values in arrays