UW cpp assignment 3, part 1, creating a template collection