test for rotated array
more test to binary search lab