py3 compatibility: added list() to range() use since py3 returns an object, and may break this line of code.
py3 compatibility: added list() to range() use since py3 returns
an object, and may break this line of code.

edickie/ciftify,edickie/ciftify