Ch4. Reversing an array