list: add move() for list. Use it to refactor assignment operator.
list: add move() for list. Use it to refactor assignment operator.

nguyentu1602/algorithm-tdd,nguyentu1602/algorithm-tdd,nguyentu1602/algorithm-tdd