Added print methods.
Added print methods.
Added tests for print methods.