Given an integer array nums, rotate the array to the right by k steps.
Output the rotated array as space-separated integers.
1,2,3,4,5,6,7 3
5 6 7 1 2 3 4