結果 : write a program to reverse a list without using reverse function