add comments
fix typo
convert sorted list to BST using extra array