Implement Bitonic Sort