Addition  of unit tests to binary seach and bug fixes
Stats update