Adding examples from the pattern matching blog post
Finishing the pattern match example