solution to Convert Sorted Array to Binary Search Tree