I\'m trying to make a program that move the elements of an array form right to left an then prints them, but the only thing that the program prints is the last value, why?