code: public boolean matchChomp(String seq) {
          if (matches(seq)) {
              pos += seq.length();
              return true;
          } else {
              return false;
          }
      }
docs: Tests if the queue matches the sequence (as with match), and if they do, removes the matched string from the
  queue.
  @param seq String to search for, and if found, remove from queue.
  @return true if found and removed, false if not found.