Code Generation for if elif else statements