Added validity check to wikipedia.set_lang(). Also ran project through autopep8 to fix the indentation

The indentation was against PEP8, so I ran it through autopep8 so my editor wouldn't spout errors for all the 2space indents. The full command was
autopep8 ./ --recursive --in-place --pep8-passes 2000 --verbose