My attempt to answer the "word numbers" problem from http://www.itasoftware.com/careers/puzzle_archive.html