how to print diamond pattern in c