Define common compressor function for rightward circular shifts with two Integers