Sample code from my Introduction to C course homework; Fall 2008.