added solution to convert sorted array to binary search tree