started triangle meshes

Half way through implementing triangles. Triangles and triangle meshes
do not work yet.