Updated linked list

Keeps track of head and tail