Demonstration of private variables in python using closures