finish method chapter section 8,9,10

Signed-off-by: xiehuc <xiehuc@gmail.com>