completely finished functions for reading array of any length from text file. packaged functions together into 1 GetArray() function