Implemented all_combinations for Alternatives