code: function(state,statePointer,nbr,isInv)
  		{
  			for (var i = 0; i < nbr; i++)
  			{
  				if(isInv)
  				{
  					var tmp = state[statePointer + 3];
  					for (var j = 3; j > 0; j--)
  						state[statePointer + j] = state[statePointer + j-1];
  					state[statePointer] = tmp;
  				}
  				else
  				{
  					var tmp = state[statePointer];
  					for (var j = 0; j < 3; j++)
  						state[statePointer + j] = state[statePointer + j+1];
  					state[statePointer + 3] = tmp;
  				}
  			}
  			return state;
  		}
docs: /* each iteration shifts the row to the left by 1