added a example for the decorator pattern