list.expand function

Create a list from all combinations of factors