Get common columns across two tables
get_common_columns(tables)
tables
a list with two elements: x and y