Update talks/switch.html

added guards and pattern matching bit