Added decorator pattern sample code