Ring Shift Counter and Johnson Shift Counter