Assign cycles the value of all dots of that color plus any encircled
dots, and add a flag to masks to represent if it is a cycle. Also
removed all of the stuff about partitions because it is not needed
anymore. If I decide I need it later its still in the history.