pep8 updates
some code to generate cwe tuples