Added neat java prgm