I need to shift this everything in the array 1 index to right, so if i input `list.add("E", 1);`, then I should get `A,E,B,C,D`

```
/** Moves elements from index..rear-1 one index to the right. */

private void shiftRight(int index) {
 /** stores elements of list. */
  T[] elements;

/** index of next insertion point; number of elements in list. */
  int rear;

assert !isFull();
    // you must fill this in

      for (index = 0; index < rear-1; index++) {
         elements[index] = elements[index+1];
      }
   }

```