I am wanting to open a text file where the first line gives the number of rows in the grid and the second line gives the number of columns. All values after that should be