Add type check
Merge branch 'master' of https://github.com/wqfish/avl
Add type checking
Merge branch 'master' of https://github.com/wqfish/avl