moved render to new file.
preparing to implement merging
added vertices in triangle