types of patterns with examples - Search