William's Challenge 2 : inverting the nodes in a tree with a max of one child per node ie. a "stick"
Invert via a sequence of names by Chris Wallace
functions to convert between a seq of names and a stick, + reverse()
recursive function by Chris Wallace
find the leaf node and build the inverted stick in reverse
recursive function by William Candillion