add some tasks and finish assembly line, add a function in algorithms.h