refactor DominantColors into smaller methods
Merge pull request #2 from ewlarson/culley/add_tests_for_dominant_colors

refactor DominantColors into smaller methods