Updated strtok code

Need to temporarily store individual tokens still