Print_d main function
Added examples