public void enqueue(Object item) {
        if(first == null) {
            last = new Node(item);
            first = last;
        }
        else {
            last.next = new Node(item);
            last = last.next;
        }
        size++;
    }