added semantic analysis and code generation for expressions and out comands