literate version of old Algebra homework for hacker school
revised version of commentary