edit lecture: add list comprehension and pattern guard to lecture 09