Question: Variations on Koch's Triangle

My class is doing a study in fractals and I have written a program to plot Koch's Triangle for as many iterations as I like. However I am now trying to plot variations of the triangle to build different fractals and I am having problems getting all of the sides to plot properly. I want the picture to look like the 2nd iteration to look like the picture here. Basically an equilateral triangle with equilateral triangles with sides of half the length of the previous iteration. How do I do this 

Please Wait...