First Commit

Functions for Applied Stats Chapter 1