new, newl, destroy, is_kstring, kstrlen
added a test, tided fixed some code