add two units method added to Length class