add iPython Minibook code