Case Study on Design Patterns