Moved dot coloring function in a Graphics class in a new utility
package.
Corrected a bug in coloring.