Update Line.java

not done yet :/