java graphical program using repetative shot algorithm to find no. of points in a rectangle...........