Implementing Array#reverse operator