Create Convert Sorted Array to Binary Search Tree (pyemma)