Sierpinski triangle with unit tests.