matchColumns function

Match number of columns