Updated StackOfStrings.java