adds get_col_num and get_row_num to main