assignment 1A: composition in template

assignment 1A: composition in template