Rails Crossword puzzle generator