Code for examples and practice throught the book