created linked list implementation and corresponding unit tests