Adding project euler #42: coded triangle numbers