input: Write a python function to partition the array and concatenate the initial segment to the back.
  assert rearrange_list([12,10,5,6,52,36],6,2) == [5,6,52,36,12,10]
  assert rearrange_list([1,2,3,4],4,1) == [2,3,4,1]
  assert rearrange_list([0,1,2,3,4,5,6,7],8,3) == [3,4,5,6,7,0,1,2]
output: 
  def rearrange_list(lst, n, k):
      return lst[k:] + lst[:k]
  