Java program to create  block documentation