generate a list of string whose head is rotated from 1 to s.length-1