Added a circular int array that allows efficient clockwise and counter-clockwise rotations