fixed a bug in ArrayRightShift class