return an empty list if 0 index passed

return an empty list if 0 index passed
Merge pull request #5 from dredasty/master

return an empty list if 0 index passed