Finished the code for the sierpinski triangle generator