Manually created ruby tree and traversal order methods