method recBinSearch is implemented