fixed triangle

updated triangle drawing code to draw an equilateral triangle, centered
in the view.