add junit dependency to pom.xml and add Length
refactor: rename some name in the Length.java