My own non-destructive implementation of strtok

strtok is a function available in string.h
that splits a given string into tokens.
However, that one is destructive.
My mine implementation of strtok is non-destructive
i.e. the original string is preserved