Also I moved the generate_hash fn up to the Address superclass as it's possible that it might be used in other Address classes.