finish alg_hw10