http://www.codewars.com/kata/canvas-fun-number-1-draw-lines
Given some points, your task is to draw lines between two adjacent points.
points
is given by a 2D integer array. Each subarray has two elements, means the x-coordinate, y-coordinate of each point.
The basic canvas(width 100 x height 100), background color(white) and pen's color(red) are already defined in the initial code(please don't delete or modify them).