Samples of some design patterns