Implemented simple linked list.