List traversal fix, append to list then reverse at end to preserve ordering
Merge pull request #5 from christian-marie/master

List traversal fix, append to list then reverse at end to preserve order...