draw a baisc triangle. refactored clean up