added info on the binary search algorithm