added functions to draw lines in space

Please let me know what you think.