LinkedList

This commit improve the LinkedList algorithms. Now the the list is a doubly linked list
and the functions were adapted to this change.

Issue: #5