Changed the numberOfTriangles variable to numTriangles, which is the
variable that the add triangles button stores s.