array reversal (recursive)