Updated samples, implemented bst checker.