Basic examples of pattern matching with guards