Add object print method

- Add an Printer method for printing object representations.
- Add toString method to String.