Added comments.  Improved output.