changed long to int for start index and list size
Merge pull request #40 from deba/komal

changed long to int for start index and list size