added a configuration file for number of rows and columns