Triangle

Naive version, bad performance