extract code, text as list

only question, answer object need these methods.
this resolves #21 
`sum` doesn't require a list comprehension AFAIK, a genexp will do