Major refactoring of singly linked list, and updated tests!