Added Global Variables which position the triangles

Global variables are now used to determine the values of each of the
vertices of the triangle.