Constant time append method by keeping the tail.