Added code generation for case expressions. Solved typing error refering to assignment expresions