add naive solution for min of rotated arrray