Read arrays from a file
Change Problem 18 to use Dynamic Calculation