rotate list 1st solution