Wrote a quick templated LinkedList class