Working throught the Eloquent Javascript exercises.