Code for the blog I am writing on the switch statment