How to append head of a list to the tail of same list? : <p>Example: List(red,blue,green,black).I want to append head of this list to the tail of same list.So after first iteration my list will be List(blue,green,black,red),after that List(green,black,red,blue) and so on.</p>
