compare_values function

Function to compare values of matched data frames.