Allows the storing of strings in a data structure in the form of either a stack or queue.