Updated reverse.hs to use the built-in list data type.