added pretty printing code on README