changed exercise to use list(range()) instead of range(), resolves issue #61