revise chapter1 a little
fix conflict between alg and an existing sty file