paint-by-numbers solver