Added sample codes for Design Patterns