Changed the implementations of list traversal.
Merging latest from Alex.
Moving helper function inline.
Merge pull request #53 from draganglumac/master

Slightly faster and safer implementations of traversal, add, and remove functions to reflect traversal.