Add a Constructor to Triangle

http://ideone.com/aeGs0g