Added implementation of Donut and Triangle