Fix iterable to list
Port demos to py3