length and volume functionality extracted to measurement class
lengthUnit and volumeUnit implements interface Unit