to display the diamond pattern