linked list doesnt work, program pulls from the input file and puts it into an array -MM