traces a retweet chain to its origin
checks string for properly matched braces