Class work sample: exercise to use the C struct to implement a data type that represents a string