Implemented remove function on linked list class

The function can take an index, data in the node or the node itself.
Fully tested.