Binary Search Tree Iterator

Implement an iterator over a binary search tree that returns the next smallest number.

Examples
Input: [["BSTIterator","next","next","hasNext","next","hasNext","next","hasNext","next","hasNext"],[[[7,3,15,null,null,9,20]],[],[],[],[],[],[],[],[],[]]]
Output: [null,3,7,true,9,true,15,true,20,false]
Hints

Binary Search Tree Iterator

Implement an iterator over a binary search tree that returns the next smallest number.