Functional version of CrosswordFiller