utils_rows_cols function

Utilities for handling with rows and columns