Implemented own function for finding all possible combinations of given lists