made function `line_coords`

Makes coordinates for a line with a specified width