using itertools to make combos function and fixed other bugs related to importing other modules