reverse
reverse : (list -> list)
purpose: to create a reversed version of a list