Added ExternalSubprogram and ExecutionPart
Added ExternalSubprogram and ExecutionPart.  Also fixed list traversals so that an empty list matches.