a simple print diamond program