Added code to model solution in binary search exercise.