refactor traverse
extract method to create list of indexed objects
extract method to get starting index
clean get start index
clean create list of indexed objects
rename variable
add comment
rename method and variable
remove duplication
Merge pull request #27 from dincamihai/refactoring

Refactoring