Merging Two Csv Files In Python Using Global Variables