Switch statement exercise