Draw a square of side length 2r, centered on (x, y). @param x the x-coordinate of the center of the square @param y the y-coordinate of the center of the square @param r radius is half the length of any side of the square @throws RuntimeException if r is negative
(double x, double y, double r)