Solution

In general, a \({100 \times 100}\) square lattice (representing 5cm by 5cm) was used to generate random tumors of discrete shapes and sizes. Circles were then placed randomly on the lattice, and a genetic algorithm was used to optimize circle placement and radii for accuracy. At no point was a circle allowed to intersect with another.