Exercises from class.