add seq alg for lab1