Update BinarySearch.c according to feedback from Prof