Creating obtainStringValue method

Creating method to handle Dstrings and Sstrings. Still having trouble
recognizing strings with leading whitespace, but this is the only
remaining issue with the lex function.