Added a file reading utility function

The function reads the file and parses each line of the contents as an
integer, which it in turn puts in an array. The array size is given by
passing it the address of an integer.