delete contest, adopt pep8, change separator from ',' to '\\n', delete useless code and imports, add PyLD to eliminate wrarning