thought through signature of binary search and created test skeleton