Reverse array without looping (using recursion)