Add queue and stack without using generic classes.