Fix input type inconsistency
Implemented insertion to bst