Wrap range in list function to fix for Python 3

You can't add `range`s together with `+` in Python 3 as they're `range` objects, not just lists.

`list(range(10))` yields a list so it works in both