To print the diamond pattern