added wordsInPuzzle method but produces badly aligned words