add Length.java as parents class
refactor Length and Mile and Yard