Added documentation to code
Incorporated in join to merge 2 datasets