Added generation of errors to spelly.py.