Implementations of practice problems from Gayle Laakmann McDowell's book.