appends respective triangle sides
Added ability to print out triangle lengths