Added Show typeclass and formatted printing