add chapter02: func and struct