write a method called rotateright that takes an array of integers as * an argument and rotates values in the array one to the right (i.e., one * forward in position), shifting the value at the end of the array to the * front. for example, if the array called list stores [3, 8, 19, 7] before * the method is called, it should store [7, 3, 8, 19] after the method * is called. another call on rotateright would leave the list as [19, 7, 3, 8]. * another call would leave the list as [8, 19, 7, 3] .