Pergunta de entrevista da empresa Microsoft

Write a basic spell checker function that checks strings for typos against a dictionary.