v0.9: realize the template of the queue(list version).