An implementation of Digital Differential Analyzer algorithm, which is used for drawing straight lines.