implemented code generator for the List concept.