add beginnings of if-else-elseif-endif logic

The statements don't actually evaluate true/false yet, but the control
flow works. 'if' is hardcoded to be false currently.