Trim a Binary Search Tree - Leetcode 669 - Python