Create Validate Binary Search Tree (pyemma)