refactor binarySearch contains
Merge pull request #9 from smk1992/refactor/contains

refactor binarySearch contains