This is a simple algorithm for the Sierpinski Triangle
Press space to draw press 1 for basic Triangle press 2 for Triangle with 90 angle press 3 for random Triangle