IPrintWithWriter using ckirkendall's suggestion
-write with correct number of arguments, output is good and all tests pass