I\'m trying to get all combinations of a list where two elements next to each other may "become one". For example;