while 1 % loop forever (break at bottom will stop me....
    bp=input('Enter a vector of packet sizes for the next busy period ');
    current = 1; % first packet must begin a busy period
    for i=1:numel(bp)
        newSize=bp(i);
        % Have we seen this before??
        rightChild=doesChildExist(current,newSize);

        if rightChild ==-1 % No, create a new node!
            c = numel(cache(current).child) + 1;
            rightChild = free;
            free = free +1;
            cache(current).child(c) = rightChild;
            initializeChild(current, rightChild, newSize);
        end
        current=rightChild;
    end
    disp('Num Packets =, Average delay = '); disp([numel(bp) cache(current).T]);
    response=input('Do you want to see the contenst of the cache? (1=yes, 0=no) ');
    if response == 1
        drawCache(1);
    end
    response=input('Do you want to terminate the program now? (1=yes, 0=no) ');
    if response == 1
        disp('Goodbye!');
        break
    end
end
