Given an array nums and an integer k, rotate the array to the right by k steps.
nums = array of integers, k = rotation steps
rotated array
Example 1:
Input:
nums = [1,2,3,4,5,6,7] k = 3
Output:
[5,6,7,1,2,3,4]
Explanation:
Last 3 elements come to front.