Read command line arguments for rows, columns and console type