breaks a line into 3 parts, if they can be made into a triangle then i form it into a triangle. The probability that randomly splitting a line into 3 parts will form a triangle is 25%. If you run it in turbo mode it gets pretty fast. (its not a game or anything i just put this together for fun)