Add in return value for number of items entered,
Copied exercise 6 code into exercise 7.
Changed show_array to use pointer arguments.