random.h, rect.cc, and toss.cc