Added pretty print and some examples