Implemented simple stringLength function so I don't need to #include <string.h>