Exercises for Tealeaf's precourse assignment