fixed the bug in BinarySearch that if number not exist, out of stack
exception thrown.

added answer of Exercises 2.3_7 into repo