python: shifting elements in a list to the right and shifting the element at the end of the list to the beginning,"[5, 1, 2, 3, 4]"