added active code exercise to bottom of chapter