Template the Staque, Stack and Queue Classes