You have lot of code in common between IntStack and IntLinkedList. Maybe there's a way to refactor so they can share it?