Exercises 5.3-5.5 added to chapter5/strings.c