Added pretty printing.
Implemented pprint