Update Prim_Double_Dictionary.py

Adding the line to close the open file