Changes to clearly show array pointers and dynamic memory allocation

Original text code changed to show how arrays are passed via pointers to functions and how parameters can be passed in either with pointer or with '&' prefix