Credit StdDraw.java