Revert "implement switch statements"

This reverts commit b7d20befa4eeee4779ddc3306a59ef3b2aff0381.