Method for pascal n-triangle matrix added