1 >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++>++++++++++++++++++++++++
4 read character into cell 9
9 while cell 9 != 0 # have an input
16 # copy cell 1 to cell 0 using cell 4
21 subtract cell 0 from cell 9
22 [->>>>>>>>>-<<<<<<<<<]
25 while cell 9 != 0 # we're not at an exit
30 copy cell 2 to cell 0 using cell 4
35 subtract cell 0 from cell 9
36 [->>>>>>>>>-<<<<<<<<<]
44 while cell 9 != 0 # we're going down
48 copy cell 7 to cell 11 using cell 12
54 while cell 11 != 0 # above ground
80 have now dealt with the input so clear cell 9
86 while cell 5 != 0 # we're going up
96 ### if 6 == 0 or 7 != 0
99 # copy cell 6 to cell 11 using cell 12
100 <<<<<<[->>>>>+>+<<<<<<]
101 >>>>>>[-<<<<<<+>>>>>>]
119 # copy cell 7 to cell 11 using cell 13
120 <<<<[->>>>+>>+<<<<<<]
121 >>>>>>[-<<<<<<+>>>>>>]
134 # add cell 12 to cell 7
143 have now dealt with the non exit node
150 while cell 10 != 0 # at an exit
153 copy cell 7 to cell 12 using cell 13 (highest)
155 >>>>>>[-<<<<<<+>>>>>>]
157 while cell 12 != 0 (above ground level)
160 copy cell 8 to cell 11 using cell 13 (highest)
166 ### subtract 11 from 12 ensuring 12 gte 0
172 copy cell 12 to cell 14 using cell 15
201 add cell 12 to cell 8
210 read character into cell 9