added search.hpp, changes made to partitioner and search_test