Fix typos and spelling errors in the code.