title: Searching in a unsorted tree recursively
body: <p>I'm trying to search an element e in the tree, however as you can see my search(Position,E) doesn't return a Position. However when I add "return null;" at the end of method. It only works when the Position I'm looking for is at the left most children of its parent and it returns null otherwise. How can I keep it working until it reaches to the end of tree? </p>
  
  <pre><code>public Position&lt;E&gt; search(E e) {
      return search(root(), e);
  }
  
  public Position&lt;E&gt; search(Position&lt;E&gt; p, E e) {
      if(p.getElement().equals(e))
          return p;
      for(Position&lt;E&gt; c: children(p))
              return search(c, e);
  }
  </code></pre>