added triangle exercise