Moved modules to lib folder.
Created WordSquareSolution class.
Moved trie building logic to trieFactory.
Created SolutionIterator class.
Bug fixes, solver now in a working state.