Made structure for linked-list more proper.