refactor 'cells' array to 'nodes'
leftmost-child right-sibling tree class declaration