Added calculation logic and writing to the document

- Added calculation to find the area of a triangle given its’ width and
height
- Prints the result to the document