Implemented BinarySearch
Implemented CountingOccurrences with Ln (N) complexity.
Merge pull request #2 from szagriichuk/binary

Implementation of BinarySearch and CountingOccurrences