Implement strncpy, strncat, strncmp using pointers.

Exercise 5-5.