Added Custom Function to reverse a list using recursion