Add choose_first to pick first winner. Fix extraction bug. Don't write directly to wikisource. Fix pep8 errors.