rows and columns read in from file instead of being hard-coded in