Added license text to all java code files.