add list based stack and queue