Added files for generating the formula for a diagonal of the triangle