Functional Programming in Python