Floydstriangle program