Function to draw the lines defined