added scanning and pulling to linked-lists

Implemented scanning a linked-list to find a reference. Added a pull function
for including all appending all references from an iterator to a linked-list.