use two vector[256] to store the string info, two pointers scan the string, end pointer extend the length, start pointer decrease the length