removed redundant Kind class
made changes to print more like the required output
more cleanups for prating
printing is identical to requested output