Added some function-related exercises for lecture 2.