fully implemented string_cut, updated the C API, stdlib and test framework