lab08 finish

the useage of doctest in the programme