Updated PrintWorldViewer to take PrintStream argument and print to that stream. Created method in PrintWorldViewerFactory which takes PrintStream argument. Defaults to System.out