Implemented Binary Search