Created Line2 class, add basic methods