Bash script that checks the spelling of a given word