support for simple branching, advances #8, closes #11
branching logical operators, closes #8