Added an array utility to reverse an array