4.2 Reversing an array