add init solution for convert sorted array to bst and clean up case for bt upside down.