Reverse a list
Add helper function to return a list