updated readme,
amend logic of binarySearch to make it more generic