My Code for a Codewars Problem is just way too slow, after some research it seems I have to use itertools product BUT I can\'t figure out a way how
Right now this is my c