A naive implementation for generating crossword from a list of words.

Tested in Firefox 53 and mobile Safari (iOS7).

Demo available at https://ov7a.github.io/crossword/crossword.html