Implemented iterative and recursive binary search algorithms over a sorted array of n integers