Trim a Binary Search Tree — CaffeCode