reverse a list

reverse a list