Fix a bug in #append for nested lists.
Fix a bug in #concat.
Fix an issue where the #map function would concat strings.
Cleanups.
Add #cartesian function.