Match Each Idea To The Correct Group