Design patterns implemented in python.