Rotate N size list by K to the right in O(N) time, O(1) space.