Use select to retrieve all nodes in a Binary tree