Added sample using M/R join logic to do record compares

This can also be used for other purposes