implementation of a Sierpinskis Triangle