add java code
first commit