Write a program to draw the line using DDA algorithm.