straight function

Draws straight lines.