add a function of Diamond Exercises : Isosceles Triangle