class Array def rotate push shift end end