Linked List a/prepend function now return the added node

This functionality could be useful. Added tests for functionality.