add queue and stack implemented by list