add a function of Draw a right triangle