added codegen for SELECT CASE stmt