Added the setLine function.
Merge pull request #9 from oddityoverseer13/master

Added the setLine method