Added a debug parameter and moved all the print statements to be called
only if in debug mode.  Added that to the predict calling script and
also put in some sample code for calling Sergey's visualize method.