Added switch statement and a calculator example.