Assignment #5: Arrays Solution