Fixed main's linkedlist methods and scanner's char_code array.