added linked-list code