Added more pattern matching examples and control structures