Modularized drawing to separate method drawLineFromPoint:(CGPoint)point1 toPoint:(CGPoint)point2