Create searchrotatedarray