Adding helper file for project euler #42: coded triangle numbers