HW1_Triangle_v1.0(21 Oct 2014)