exercise 2.56 done

Signed-off-by: Edgar Wang <edgar.xiaoxiangyu@gmail.com>