Implemented basic linked list data structure