a few code block changes and making gitbook runnable from chapters directory