public void enqueue(String key) {
        Node old = last;
        last = new Node();
        last.key = key;
        last.next = null;
        if (isEmpty())
            first = last;
        else 
            old.next = last;
    }