Implemented Switch interpreter.