finished bsearch.rb/bsearch_tests.rb