add cycle shift solution 1