Added code for java code generation of if elseif and else statements