Tiny refactoring (used range keyword instead of manual range). Also reversed ordering in _link objects. This fixes #9.