code: Set<PolicyNodeImpl> getPolicyNodes(int depth) {
          Set<PolicyNodeImpl> set = new HashSet<>();
          getPolicyNodes(depth, set);
          return set;
      }
docs: Returns all nodes at the specified depth in the tree.
  
  @param depth an int representing the depth of the desired nodes
  @return a <code>Set</code> of all nodes at the specified depth