Adding entry on refactoring Switch statements to patterns