slight changes to math/triangle.h
Problem 042