add license notice to KeyLength.java