Update and rename an improved binarySearch to binarySearch_an enhanced version