Modified Triangle Printing Program