Matrix and Modified Linked List