added struct Color, struct Matrix