I want to make a crossword generator, where you input X words and it generates a working crossword for it.

I've searched the net with little luck, so if anyone has any algorithms/source code/suggestions/tips, please let me know! I'd really appreciate it!

Thanks in advance!
Kevin