add StackBasicString and string algorithm.