Implement if...elseif...else...end

Doing elseif instead of else if for time being as it makes the recursive
reading a bit simpler.