added bresenham line algorithm in scala