Functions and Fractals: Sierpinski triangles