added generic functions for color
Merge branch 'master' of https://github.com/xysmas/TheTroubleWithTriangles
updated bug in gene, updated constructor