Bitonic Search implementation