Made container::add a little better

Added the string comparison function that has a character limit (strncmp
vs. strcmp).