I have figured out as I am always looking to see if the value is equal to the midpoint and the value is the first value it will never be true, so how does binary search manage t