Added unsorted test
Added print_tree function
Fixed sort function
Added tree search
Added function pointer
Added init function