Adding triangles

Adds the triangle class

## TODO

- [ ] triangle tests