Implementation of basic StrTok (Class Assignment)