Added some comparison function for basic data types, some changes to bstree