Rotate List Leetcode Solution