Added design patterns for python