added canvas line example

added an example of the canvas line code. incorporated the css,
javascript and html to the main page.