Mod: update code sample to use variable `a_list` instead of `list`

`list` is really not a good variable name in Python :-)