Added benchmark code for binary search