cg_algorithm Computer Graphics Algorithm implementation DDA Line Drawing Algorithm Output breshman line drawing algorithm output Triangle + rectangle + straight Line equation