please avoid these loops
you can for example do:
temp=range(xmin_circle1, xmax_circle1+1)
temp=temp+temp
to reproduce this loop, this makes code first much faster (not so important here, but in other places) and second much more readable