added LinkedList using array