Positions of Large Groups

找到一个string上连续长度超过3个同样字符的位置. 返回的是index.