if working

made some changes to IfStatement in tree to have a label to parent end if it's elseIf, maybe there is better way, don't care for now