to display the pattern of diamond