Added code for circles of different diameters.