Write a program to draw the line using Bresenham’s algorithm.