Correction of action() in ColorAgent
Implementation of SegregationMain and SegregationFrame