reworked readTemplateImage() to take in a map from color vals to symbols