Coding practice while reading the book