functional programming in python.  Includes scope tests and lambdas