Fixed a few issues in the binary search exercise.