made a proper loop for my check_for_conflicting_packages function