adding exercise 8
added a comment about trailing null byte