oDest Assignment from Raluca Ulici. Array rotation in reverse order by index