compare_type function

Function to compare type of variables of matched data frames.