code i wrote a bored night long ago that helps you practice for the Physics GRE