Added draw function to Line class.