Removing unused code

The C++ version had some extra code left over from testing different
types of array rotations. Just removed that.