Text this: Butterfly Triple System Algorithm Based on Graph Theory