Added colorReduction.cpp