Adding a code to create a binary tree froma sorted array