Added temporary flag. Each entry could be now marked as temporary and
deleted when program ends.