Changed out statically sized struct with a ADT for strings in preparation of error messages