Array Rotation: Detect if some arrays are same after rotation.

Don`t copy text!