level_order function

Generates a level order traversal on the simplex tree.