Exercise 5: A web program that draws Sierpinski's triangle in Canvas (HTML5)