Various methods to generate Sierpinski triangel