separate file for anagrammes function