updated list naming convention to cater for both singly and doubly linked-lists