When you make a module, go mod init when you first make the project, and then go mod tidy every once in while when you have removed/added/changed your deps, this auto updates it.
from: string, the word to start from. Needs to have the same length as to
to: string, the word to get to. Needs to have the same length as from
wordsList: []string, a list of string that can be used as steps to get to 'to' from 'from', MUST be the same length as them
- Solver expects the wordsList to only include words that are of len 4
Returns:
The solution, the number of words it takes, or an error