code: public boolean push(String newText) {
          if (stackTop < stack.length - 1) {
              stack[stackTop++] = newText;
              return true;
          } else {
              return false;
          }
      }
docs: Puts string in the stack.
  
  @param newText A new string to put in the stack
  @return false if the stack is full