total= line (try 100, 1000, 10000 even).
hit= be set to?
d= statement is the
hard part. You need to program in the distance formula to see how far the $(x,y)$ point is from the center of the circle
which is at $(0.5,0.5)$.
if statement, you have to check if $d$ is less than the radius of the circle.