Functions for the Book "An Introduction to the Bootstrap"