A program which explains how to make diamond pattern in Java