Create searchrotatearray.cpp