Java guideline

Add Java coding guideline.