Code stylings and move BST here from another repo