Code from the jazzscheme tutorial: http://www.jazzscheme.org/tutorials.htm#tutorial.units