Add exercise from 2013 final exam