you start the loop, check some invariants, i.e. us...
# arrow
p
you start the loop, check some invariants, i.e. user input, and then (call yourself recursively/return left or right) depending on whether you want to terminate the recursion or not