Leftmost-child Right-Sibling implementation of tree