A coding assignment from 2009