Problem
1. Implement the polyl ine function using the DDA algorithm, given any number (n) of input pants. A single point is to be plotted when n = 1.
2. Extend Bresenham's line algorithm to generate lines with any slope, taking symmetry between quadrants into account, Implement the polyline function using this algorithm as a routine that displays the set of straight lines connecting the n input points. For n = 1, the rowtine displays a single point.