Update Line.java

Line class