Cleanup - removed superfluous prints and comments, corrected copyright symbol
Added an option to keep the second join key rather than the first