partly written a string token type
finally managed to code up a string type