Added strncpy, modified strcmp to include strlen