Add 'triangle()'
Complete all the rest functions