Removing visitor from printing
Adding exceptions
Separate tests file