Array program added (Chapter 5)