Inheritance exampple for appending lists