Add an example implementation of an append function for Lists.