add closure.py to demo closure in python